﻿using System;
using System.Collections.Generic;
using System.Text;

namespace XmlTest
{
    public class Material:X3DObject
    {
        private string DiffuseColor;
        private string AmissiveColor;
        private string SpecularColor;
        private string Shininess;
        private string AmbientIntensity;
        private string Transparency;

        public string diffuseColor
        {
            get { return DiffuseColor; }
            set { DiffuseColor = value; }
        }

        public string emissiveColor
        {
            get { return AmissiveColor; }
            set { AmissiveColor = value; }
        }

        public string specularColor
        {
            get { return SpecularColor; }
            set { SpecularColor = value; }
        }

        public string shininess
        {
            get { return Shininess; }
            set { Shininess = value; }
        }

        public string ambientIntensity
        {
            get { return AmbientIntensity; }
            set { AmbientIntensity = value; }
        }

        public string transparency
        {
            get { return Transparency; }
            set { Transparency = value; }
        }
            
        public Material():base()
        {            
        }

        public Material(string DiffuseColor)
             :base()
        {
            this.DiffuseColor = DiffuseColor;
        }

        public Material(string DEF, string USE, string DiffuseColor, string emissiveColor,
            string specularColor, string shininess, string ambientIntensity, string transparensity, string containerField)//: base()
        {
            this.DEF = DEF;
            this.USE = USE;
            this.DiffuseColor = DiffuseColor;
            this.AmissiveColor = emissiveColor;
            this.SpecularColor = specularColor;
            this.Shininess = shininess;
            this.AmbientIntensity = ambientIntensity;
            this.Transparency = transparensity;
            this.containerField = containerField;
        }

     }
}
